<%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt_rt" %>

<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2018/12/25
  Time: 16:35
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>添加学生</title>
    <!-- 最新版本的 Bootstrap 核心 CSS 文件 -->
    <link rel="stylesheet" href="bootstrap-3.3.7-dist/css/bootstrap.min.css">
    <!-- 可选的 Bootstrap 主题文件（一般不用引入） -->
    <link rel="stylesheet" href="bootstrap-3.3.7-dist/css/bootstrap-theme.min.css">
    <!-- 最新的 Bootstrap 核心 JavaScript 文件 -->
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous">

    </script>
    <script src="bootstrap-3.3.7-dist/js/bootstrap.min.js"></script>
</head>
<body>
    <form action="/register.do">
        <div class="container" style="text-align: center;">
            <div class="row clearfix">
                <div class="col-md-12 column">
                    <form role="form" style="position:relative;">
                        <div class="form-group" style="text-align: center">
                            <label style="position: relative;left: -30%">姓名</label>

                            <input name="name" type="text" class="form-control"   style="height: 30px;width: 500px;"/>
                        </div>
                        <div class="form-group">
                            <label  style="position: relative;left: -30%">年龄</label>

                            <input name="age" type="text" class="form-control" id="" style="height: 30px;width: 500px;" />
                        </div>
                        <div class="form-group">
                            <label  style="position: relative;left: -30%" >生日</label>

                            <input name="date" type="date" class="form-control" id="" style="height: 30px;width: 500px;" />
                            <%--<fmt:formatDate value="" pattern="yyyy-MM-dd"/>--%>
                        </div>

                        <button type="submit" class="btn btn-default">Submit</button>
                    </form>
                </div>
            </div>
        </div>
    </form>
</body>
</html>
